// samsting : this file is auto create.

#include "Ess/2014-08-28/ModifyScalingGroupRequest.h"

namespace aliyun { namespace Ess {

ModifyScalingGroupRequest::ModifyScalingGroupRequest() : RpcAcsRequest("Ess", "2014-08-28", "ModifyScalingGroup") {
}

int64 ModifyScalingGroupRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void ModifyScalingGroupRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& ModifyScalingGroupRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void ModifyScalingGroupRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 ModifyScalingGroupRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void ModifyScalingGroupRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& ModifyScalingGroupRequest::GetScalingGroupId(void) const {
  return ScalingGroupId_;
}
void ModifyScalingGroupRequest::SetScalingGroupId(const string& ScalingGroupId) {
  ScalingGroupId_ = ScalingGroupId;
  PutQueryParameter("ScalingGroupId", ScalingGroupId_);
}

const string& ModifyScalingGroupRequest::GetScalingGroupName(void) const {
  return ScalingGroupName_;
}
void ModifyScalingGroupRequest::SetScalingGroupName(const string& ScalingGroupName) {
  ScalingGroupName_ = ScalingGroupName;
  PutQueryParameter("ScalingGroupName", ScalingGroupName_);
}

int ModifyScalingGroupRequest::GetMinSize(void) const {
  return MinSize_;
}
void ModifyScalingGroupRequest::SetMinSize(int MinSize) {
  MinSize_ = MinSize;
  PutQueryParameter("MinSize", string_ValueOfInt(MinSize_));
}

int ModifyScalingGroupRequest::GetMaxSize(void) const {
  return MaxSize_;
}
void ModifyScalingGroupRequest::SetMaxSize(int MaxSize) {
  MaxSize_ = MaxSize;
  PutQueryParameter("MaxSize", string_ValueOfInt(MaxSize_));
}

int ModifyScalingGroupRequest::GetDefaultCooldown(void) const {
  return DefaultCooldown_;
}
bool ModifyScalingGroupRequest::SetDefaultCooldown(int DefaultCooldown) {
  if(DefaultCooldown < 0) {
    return false;
  }
  if(DefaultCooldown > 86400) {
    return false;
  }
  DefaultCooldown_ = DefaultCooldown;
  PutQueryParameter("DefaultCooldown", string_ValueOfInt(DefaultCooldown_));
  return true;
}

const string& ModifyScalingGroupRequest::GetRemovalPolicy_1(void) const {
  return RemovalPolicy_1_;
}
void ModifyScalingGroupRequest::SetRemovalPolicy_1(const string& RemovalPolicy_1) {
  RemovalPolicy_1_ = RemovalPolicy_1;
  PutQueryParameter("RemovalPolicy.1", RemovalPolicy_1_);
}

const string& ModifyScalingGroupRequest::GetRemovalPolicy_2(void) const {
  return RemovalPolicy_2_;
}
void ModifyScalingGroupRequest::SetRemovalPolicy_2(const string& RemovalPolicy_2) {
  RemovalPolicy_2_ = RemovalPolicy_2;
  PutQueryParameter("RemovalPolicy.2", RemovalPolicy_2_);
}

const string& ModifyScalingGroupRequest::GetActiveScalingConfigurationId(void) const {
  return ActiveScalingConfigurationId_;
}
void ModifyScalingGroupRequest::SetActiveScalingConfigurationId(const string& ActiveScalingConfigurationId) {
  ActiveScalingConfigurationId_ = ActiveScalingConfigurationId;
  PutQueryParameter("ActiveScalingConfigurationId", ActiveScalingConfigurationId_);
}

const string& ModifyScalingGroupRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void ModifyScalingGroupRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Ess {

// end of file 
